package com.peace.hospital.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;


/**
 * <p>
 * 职位表
 * </p>
 *
 * @author xie
 * @since 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Position implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 职位编号
     */
    @TableId(value = "posid", type = IdType.AUTO)
    private Integer posid;

    /**
     * 职称
     */
    private String postitle;

    private List<Integer> postitleList;

    /**
     * 职位数据库名称
     */
    private String posdbsource;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getPosid() {
        return posid;
    }

    public void setPosid(Integer posid) {
        this.posid = posid;
    }

    public String getPostitle() {
        return postitle;
    }

    public void setPostitle(String postitle) {
        this.postitle = postitle;
    }

    public List<Integer> getPostitleList() {
        return postitleList;
    }

    public void setPostitleList(List<Integer> postitleList) {
        this.postitleList = postitleList;
    }

    public String getPosdbsource() {
        return posdbsource;
    }

    public void setPosdbsource(String posdbsource) {
        this.posdbsource = posdbsource;
    }
}
